#include "../Include/DictProducer.h"

int main()
{
    DictProducer dpEn("../data/english");
    
    dpEn.showFiles();
    dpEn.mergeTXT("../data/Ensummary.dat");
    dpEn.buildEnDict();
    dpEn.storeDict("../data/Endict.dat", "../data/EndictIndex.dat");
    
    SplitToolCppJieba *splitTool = new SplitToolCppJieba();
    DictProducer dpCn("../data/chinese", splitTool);
    
    dpCn.showFiles();
    dpCn.mergeTXT("../data/Cnsummary.dat");
    dpCn.buildCnDict();
    dpCn.storeDict("../data/Cndict.dat", "../data/CndictIndex.dat");
    delete splitTool;
    return 0;
}

